package cn.it.http.service.Impl;

import cn.it.http.dao.UserDao;
import cn.it.http.dao.impl.UserDaoImpl;
import cn.it.http.entity.User;

public class UserServiceImpl implements UserService{
    @Override
    public User login2(User user) {
        UserDao userDao = (UserDao) new UserDaoImpl();
        return userDao.login(user);
    }
}
